<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>提交订单</title>
<link href="__TPL__/style/css/web.css" rel="stylesheet" type="text/css" />
<script src="__TPL__/style/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	function money(){
		var days = {$days};
		var price = {$MyPrice};
		var count = $("#Count").val();
		var money = 0;
		money = days*price*count
		$('#money').text('￥'+money);
	}
	$(function(){
		money();//初始化总额
	})
</script>
</head>

<body>
	
<div id="warp">
       {include common/header}
        
        <div class="content">
             <div class="reserve_info">
             <form action="{url('order/save')}" method="post">
                 <ul><div class="info_title">酒店信息</div>
                  <!--<li >城市：济南市 </li>-->
                  <li >名称：{$OrgName}</li>
                  <li >地址：{$Address}</li>
                  <li >电话：{$TelePhoneNo}</li>
                </ul>
                <ul><div class="info_title">预订信息</div>
                 <li>预订房型：{$RoomTypeName}</li>
                 <li>抵店时间：<span class="green">{$ArrivalDate}</span> 离店时间：<span class="green">{$DepartureDate}</span>  </li>
                 <li>预订间数：<select name="Count" id="Count"  class="input" onchange="money()">
                   {for $i=1;$i<=$max;$i++}
				   <option value="{$i}">{$i}</option>
                   {/for}
                 </select></li>
                 <li>房价：<span class="orange">￥{$MyPrice}</span></li>
                 <li>订单金额：<span class="orange" id="money">载入中。。。</span></li>
              
                </ul>
                <ul><div class="info_title">订房人信息</div>
                	
                    <table width="726" height="69" border="0" cellpadding="0" cellspacing="0" class="person">
                      <tr>
                        <td width="55" class="person_l"> <p align="center">客人</p><p align="center"> <em>1</em></p></td>
                        <td width="367"><p>姓名<em class="red">*</em> </p><p><input name="GuestName" type="text"  class="input" value="{$_G['member']['Name']}"/></p></td>
                        <td width="330"><p>手机号<em class="red">*</em> </p><p><input name="Mobile" type="text" class="input" value="{$_G['member']['Mobile']}"/></p></td>
                      
                      </tr>
                    </table>
               		<input type="hidden" name="CardNo" id="CardNo" value="{$_G['member']['CardNo']}" /><!--分店地址-->
               		<input type="hidden" name="OrgId" id="OrgId" value="{$OrgId}" /><!--分店id-->               		
               		<input type="hidden" name="ArrivalDate" id="ArrivalDate" value="{$ArrivalDate}" /><!--抵店时间-->
               		<input type="hidden" name="DepartureDate" id="DepartureDate" value="{$DepartureDate}" /><!--离店时间-->
               		
               		<input type="hidden" name="RoomRateTypeId" id="RoomRateTypeId" value="{$RoomRateTypeId}" /><!--房价类Id-->
               		<input type="hidden" name="RoomTypeId" id="RoomTypeId" value="{$RoomTypeId}" /><!--房间类id-->
               		<input type="hidden" name="RoomRate" id="RoomRate" value="{$MyPrice}" /><!--分店名称-->
               		<input type="hidden" name="BP" id="BP" value="4" /><!--4网站 8微信,//业务入口（int类型）-->
               		
               		               
               </ul>
                <ul><div class="info_title">备注</div>
                  <textarea name="Comment" cols="4" rows="" class="texts" style="width:500px"></textarea>
                </ul>
                <ul><div align="center"><input type="submit"  class="serch_btn" value="提交" /></div></ul>
               </form>
             </div>
       </div>
</div>
 {include common/foot}
</body>
</html>
